.manufactur-monitor {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  //标题区域
  &-title {
    display: flex;
    padding: 0 10px;
    height: 25px;
    margin-bottom: 10px;

    & > span {
      font-size: 20px;
      font-weight: bold;
      letter-spacing: 3px;
      white-space: nowrap;
    }
  }

  //内容展示区域
  &-content {
    display: flex;
    height: calc(100% - 35px);

    //地图区域容器
    .map-container {
      width: calc(100% - 400px);
      height: 100%;
      position: relative;

      //地图说明
      & > .desc {
        position: absolute;
        left: 0;
        top: 10px;
        width: 300px;
        height: 150px;
        z-index: 99;

        & > .text {
          margin: 20px 10px 10px 20px;
          display: block;
          font-size: 22px;
          font-weight: bold;
          letter-spacing: 5px;
          color: #363874;
        }

        & > .value {
          margin-left: 20px;
          font-size: 16px;
          font-weight: bold;
          color: #363874;
        }
      }

      //地图图表
      & > .chart {
        width: 100%;
        height: 100%;
      }

      //地图数据汇总
      & > .total {
        position: absolute;
        left: 0;
        bottom: 0;
        display: flex;
        margin: 20px;

        & > .total-plant,
        & > .total-equip,
        & > .total-warn {
          margin: 20px;
          text-align: center;

          & > .text {
            display: block;
            font-size: 18px;
            font-weight: bold;
            white-space: nowrap;
            color: #363874;
          }

          & > .value {
            font-size: 30px;
            font-weight: bold;
            color: #594ad0;
          }
        }
      }
    }

    //设备列表容器
    .equip-list-container {
      width: 380px;
      min-width: 380px;
      height: 100%;
      margin-left: 20px;

      //右侧设备区域标题
      & > .title {
        width: 100%;
        height: 40px;
        padding: 10px 15px;
        border-radius: 10px;
        box-sizing: border-box;
        background-image: linear-gradient(to right, #334bdd, #34afff);

        .text {
          font-size: 15px;
          font-weight: bold;
          color: white;
        }

        .value {
          position: relative;
          padding: 0 5px;
          float: right;
          font-size: 15px;
          font-weight: bold;
          color: white;
          cursor: pointer;

          &:hover {
            .dropdown {
              display: block;
            }
          }

          //下拉菜单
          .dropdown {
            display: none;
            list-style: none;
            width: 140px;
            max-height: 200px;
            background-color: #f4f4f4;
            position: absolute;
            right: 0;
            border-radius: 3px;
            overflow-x: hidden;
            overflow-y: auto;

            & > li {
              height: 25px;
              font-size: 16px;
              color: black;
              padding: 3px;
              max-width: 100%;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;

              &:hover {
                background-color: red;
              }
            }
          }
        }
      }

      //设备列表区域
      & > .list {
        height: calc(100% - 40px);
        background: url("~@static/images/actionBigscreen/manufactur-equip-bg.png");
        background-size: 100% 100%;
        box-sizing: border-box;
        overflow: hidden;

        //设备内容
        & > .equip-content {
          width: calc(100% - 20px);
          height: calc(100% - 40px);
          margin: 20px 10px;

          //列表标题
          & > .title {
            height: 24px;
            font-size: 18px;
            font-weight: bold;
            color: #1b1d62;
            margin-bottom: 20px;
          }

          //设备列表
          & > .equipments {
            width: 100%;
            height: calc(100% - 44px);
            padding: 0 7px;
            box-sizing: border-box;
            overflow-x: hidden;
            overflow-y: auto;

            //隐藏滚动条
            &::-webkit-scrollbar {
              width: 7px;
            }

            //滚动条样式
            &::-webkit-scrollbar-thumb {
              border-radius: 40px;
              background: #cccccc;
              opacity: 0.6;
            }

            //滚动条背景样式
            &::-webkit-scrollbar-track {
              border-radius: 10px;
              background: #e6f0ff;
            }

            //设备展示区域
            & > .equipments-inner {
              display: grid;
              justify-content: space-around;
              grid-template-columns: repeat(auto-fill, 150px);
              grid-column-gap: 10px;
              grid-row-gap: 10px;
            }
          }
        }
      }
    }
  }
}
